package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import java.util.Date;

/**
 * 运费结算单
 * Created by hacker on 2017/8/17.
 */
@Entity
public class TransMoneyCalc implements Serializable {

    //磅单类型 1出 2入
    @Transient
    public static final Integer BILLTYPE_IN = 2;
    @Transient
    public static final Integer BILLTYPE_OUT = 1;
    //操作类型 1 运输公司人员操作 2 驾驶员自动提交结算
    @Transient
    public static final Integer OPTTYPE_TRANS = 1;
    @Transient
    public static final Integer OPTTYPE_DRIVER = 2;
    private static final long serialVersionUID = -8013478889922188465L;
    @Id
    private long id;
    @Property
    private String number;
    @Property
    private Integer transcontantid;
    @Property
    private String transcontract;
    @Property
    private Float unitprice;
    @Property
    private String platenumber;
    /**
     * 驾驶员
     */
    @Property
    private String driver;
    @Property
    private Integer carinforid;
    @Property
    private Integer billid;
    @Property
    private String billnumber;
    @Property
    private Integer billtype;
    @Property
    private Float sendweight;
    @Property
    private Float receiveweight;
    @Property
    private Float lostweight;
    @Property
    private Float outlostweight;
    @Property
    private Float lostvalue;
    @Property
    private Float lostunitpirce;
    @Property
    private Float lostmoney;
    @Property
    private Float calcmoney;
    @Property
    private Float calcweight;
    @Property
    private Float truemoney;
    @Property
    private Integer losttype;
    @Property
    private Integer adduserid;
    @Property
    private String addusername;
    @Property
    private Integer transcompanyid;
    @Property
    private String transcompanyname;
    @Property
    private Integer isaddtax;
    @Property
    private Float addtaxmoney;
    @Property
    private Date calctime;
    @Property
    private String coaltype;
    @Property
    private Integer coaltypeid;
    @Property
    private Integer transpaytype;
    @Property
    private Integer opttype;
    @Property
    private Integer status;
    @Property
    private Integer sendcompanyid;
    @Property
    private String sendcompany;
    @Property
    private Integer receivcompanyid;
    @Property
    private String receivcompany;
    @Property
    private Integer sendaddressid;
    @Property
    private String sendaddress;
    @Property
    private Integer receiveaddressid;
    @Property
    private String receiveaddress;
    @Property
    private Integer audituserid;
    @Property
    private String auditusername;
    @Property
    private Date audittime;
    /**
     * 是否强制加油 0 否 1 是
     */
    @Property
    private Integer isLimitOil;

    /**
     * 强制加油单
     */
    @Property
    private Integer oilBillId;

    /**
     * 强制加油单编号
     */
    @Property
    private String oilBillNumber;

    /**
     * 强制加油金额
     */
    @Property
    private Float oilMoney;

    /**
     * 转账单ID
     */
    @Property
    private Integer transferMoneyId;

    /**
     * 转账单编号
     */
    @Property
    private String transferMoneyNumber;

    /**
     * 转账金额
     */
    @Property
    private Float transferMoney;

    /**
     * 银行名称
     */
    @Property
    private String bnakName;

    /**
     * 持卡人
     */
    @Property
    private String cardholder;

    /**
     * 账号
     */
    @Property
    private String bnakAccount;

    /**
     * 账号信息的ID
     */
    @Property
    private Integer bankcardid;

    public Integer getBankcardid() {
        return this.bankcardid;
    }

    public void setBankcardid(Integer bankcardid) {
        this.bankcardid = bankcardid;
    }

    public String getBnakAccount() {
        return this.bnakAccount;
    }

    public void setBnakAccount(String bnakAccount) {
        this.bnakAccount = bnakAccount;
    }

    public String getCardholder() {
        return this.cardholder;
    }

    public void setCardholder(String cardholder) {
        this.cardholder = cardholder;
    }

    public String getBnakName() {
        return this.bnakName;
    }

    public void setBnakName(String bnakName) {
        this.bnakName = bnakName;
    }

    public Float getTransferMoney() {
        return this.transferMoney;
    }

    public void setTransferMoney(Float transferMoney) {
        this.transferMoney = transferMoney;
    }

    public String getTransferMoneyNumber() {
        return this.transferMoneyNumber;
    }

    public void setTransferMoneyNumber(String transferMoneyNumber) {
        this.transferMoneyNumber = transferMoneyNumber;
    }

    public Integer getTransferMoneyId() {
        return this.transferMoneyId;
    }

    public void setTransferMoneyId(Integer transferMoneyId) {
        this.transferMoneyId = transferMoneyId;
    }

    public Float getOilMoney() {
        return this.oilMoney;
    }

    public void setOilMoney(Float oilMoney) {
        this.oilMoney = oilMoney;
    }

    public String getOilBillNumber() {
        return this.oilBillNumber;
    }

    public void setOilBillNumber(String oilBillNumber) {
        this.oilBillNumber = oilBillNumber;
    }

    public Integer getOilBillId() {
        return this.oilBillId;
    }

    public void setOilBillId(Integer oilBillId) {
        this.oilBillId = oilBillId;
    }

    public Integer getIsLimitOil() {
        return this.isLimitOil;
    }

    public void setIsLimitOil(Integer isLimitOil) {
        this.isLimitOil = isLimitOil;
    }

    public Date getAudittime() {
        return this.audittime;
    }

    public void setAudittime(Date audittime) {
        this.audittime = audittime;
    }

    public String getAuditusername() {
        return this.auditusername;
    }

    public void setAuditusername(String auditusername) {
        this.auditusername = auditusername;
    }

    public Integer getAudituserid() {
        return this.audituserid;
    }

    public void setAudituserid(Integer audituserid) {
        this.audituserid = audituserid;
    }

    public String getReceiveaddress() {
        return this.receiveaddress;
    }

    public void setReceiveaddress(String receiveaddress) {
        this.receiveaddress = receiveaddress;
    }

    public Integer getReceiveaddressid() {
        return this.receiveaddressid;
    }

    public void setReceiveaddressid(Integer receiveaddressid) {
        this.receiveaddressid = receiveaddressid;
    }

    public String getSendaddress() {
        return this.sendaddress;
    }

    public void setSendaddress(String sendaddress) {
        this.sendaddress = sendaddress;
    }

    public Integer getSendaddressid() {
        return this.sendaddressid;
    }

    public void setSendaddressid(Integer sendaddressid) {
        this.sendaddressid = sendaddressid;
    }

    public String getReceivcompany() {
        return this.receivcompany;
    }

    public void setReceivcompany(String receivcompany) {
        this.receivcompany = receivcompany;
    }

    public Integer getReceivcompanyid() {
        return this.receivcompanyid;
    }

    public void setReceivcompanyid(Integer receivcompanyid) {
        this.receivcompanyid = receivcompanyid;
    }

    public String getSendcompany() {
        return this.sendcompany;
    }

    public void setSendcompany(String sendcompany) {
        this.sendcompany = sendcompany;
    }

    public Integer getSendcompanyid() {
        return this.sendcompanyid;
    }

    public void setSendcompanyid(Integer sendcompanyid) {
        this.sendcompanyid = sendcompanyid;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOpttype() {
        return this.opttype;
    }

    public void setOpttype(Integer opttype) {
        this.opttype = opttype;
    }

    public Integer getTranspaytype() {
        return this.transpaytype;
    }

    public void setTranspaytype(Integer transpaytype) {
        this.transpaytype = transpaytype;
    }

    public Integer getCoaltypeid() {
        return this.coaltypeid;
    }

    public void setCoaltypeid(Integer coaltypeid) {
        this.coaltypeid = coaltypeid;
    }

    public String getCoaltype() {
        return this.coaltype;
    }

    public void setCoaltype(String coaltype) {
        this.coaltype = coaltype;
    }

    public Date getCalctime() {
        return this.calctime;
    }

    public void setCalctime(Date calctime) {
        this.calctime = calctime;
    }

    public Float getAddtaxmoney() {
        return this.addtaxmoney;
    }

    public void setAddtaxmoney(Float addtaxmoney) {
        this.addtaxmoney = addtaxmoney;
    }

    public Integer getIsaddtax() {
        return this.isaddtax;
    }

    public void setIsaddtax(Integer isaddtax) {
        this.isaddtax = isaddtax;
    }

    public String getTranscompanyname() {
        return this.transcompanyname;
    }

    public void setTranscompanyname(String transcompanyname) {
        this.transcompanyname = transcompanyname;
    }

    public Integer getTranscompanyid() {
        return this.transcompanyid;
    }

    public void setTranscompanyid(Integer transcompanyid) {
        this.transcompanyid = transcompanyid;
    }

    public String getAddusername() {
        return this.addusername;
    }

    public void setAddusername(String addusername) {
        this.addusername = addusername;
    }

    public Integer getAdduserid() {
        return this.adduserid;
    }

    public void setAdduserid(Integer adduserid) {
        this.adduserid = adduserid;
    }

    public Integer getLosttype() {
        return this.losttype;
    }

    public void setLosttype(Integer losttype) {
        this.losttype = losttype;
    }

    public Float getTruemoney() {
        return this.truemoney;
    }

    public void setTruemoney(Float truemoney) {
        this.truemoney = truemoney;
    }

    public Float getCalcweight() {
        return this.calcweight;
    }

    public void setCalcweight(Float calcweight) {
        this.calcweight = calcweight;
    }

    public Float getCalcmoney() {
        return this.calcmoney;
    }

    public void setCalcmoney(Float calcmoney) {
        this.calcmoney = calcmoney;
    }

    public Float getLostmoney() {
        return this.lostmoney;
    }

    public void setLostmoney(Float lostmoney) {
        this.lostmoney = lostmoney;
    }

    public Float getLostunitpirce() {
        return this.lostunitpirce;
    }

    public void setLostunitpirce(Float lostunitpirce) {
        this.lostunitpirce = lostunitpirce;
    }

    public Float getLostvalue() {
        return this.lostvalue;
    }

    public void setLostvalue(Float lostvalue) {
        this.lostvalue = lostvalue;
    }

    public Float getOutlostweight() {
        return this.outlostweight;
    }

    public void setOutlostweight(Float outlostweight) {
        this.outlostweight = outlostweight;
    }

    public Float getLostweight() {
        return this.lostweight;
    }

    public void setLostweight(Float lostweight) {
        this.lostweight = lostweight;
    }

    public Float getReceiveweight() {
        return this.receiveweight;
    }

    public void setReceiveweight(Float receiveweight) {
        this.receiveweight = receiveweight;
    }

    public Float getSendweight() {
        return this.sendweight;
    }

    public void setSendweight(Float sendweight) {
        this.sendweight = sendweight;
    }

    public Integer getBilltype() {
        return this.billtype;
    }

    public void setBilltype(Integer billtype) {
        this.billtype = billtype;
    }

    public String getBillnumber() {
        return this.billnumber;
    }

    public void setBillnumber(String billnumber) {
        this.billnumber = billnumber;
    }

    public Integer getBillid() {
        return this.billid;
    }

    public void setBillid(Integer billid) {
        this.billid = billid;
    }

    public Integer getCarinforid() {
        return this.carinforid;
    }

    public void setCarinforid(Integer carinforid) {
        this.carinforid = carinforid;
    }

    public String getDriver() {
        return this.driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getPlatenumber() {
        return this.platenumber;
    }

    public void setPlatenumber(String platenumber) {
        this.platenumber = platenumber;
    }

    public Float getUnitprice() {
        return this.unitprice;
    }

    public void setUnitprice(Float unitprice) {
        this.unitprice = unitprice;
    }

    public String getTranscontract() {
        return this.transcontract;
    }

    public void setTranscontract(String transcontract) {
        this.transcontract = transcontract;
    }

    public Integer getTranscontantid() {
        return this.transcontantid;
    }

    public void setTranscontantid(Integer transcontantid) {
        this.transcontantid = transcontantid;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Generated(hash = 1728128337)
    public TransMoneyCalc(long id, String number, Integer transcontantid,
                          String transcontract, Float unitprice, String platenumber,
                          String driver, Integer carinforid, Integer billid, String billnumber,
                          Integer billtype, Float sendweight, Float receiveweight,
                          Float lostweight, Float outlostweight, Float lostvalue,
                          Float lostunitpirce, Float lostmoney, Float calcmoney,
                          Float calcweight, Float truemoney, Integer losttype, Integer adduserid,
                          String addusername, Integer transcompanyid, String transcompanyname,
                          Integer isaddtax, Float addtaxmoney, Date calctime, String coaltype,
                          Integer coaltypeid, Integer transpaytype, Integer opttype,
                          Integer status, Integer sendcompanyid, String sendcompany,
                          Integer receivcompanyid, String receivcompany, Integer sendaddressid,
                          String sendaddress, Integer receiveaddressid, String receiveaddress,
                          Integer audituserid, String auditusername, Date audittime,
                          Integer isLimitOil, Integer oilBillId, String oilBillNumber,
                          Float oilMoney, Integer transferMoneyId, String transferMoneyNumber,
                          Float transferMoney, String bnakName, String cardholder,
                          String bnakAccount, Integer bankcardid) {
        this.id = id;
        this.number = number;
        this.transcontantid = transcontantid;
        this.transcontract = transcontract;
        this.unitprice = unitprice;
        this.platenumber = platenumber;
        this.driver = driver;
        this.carinforid = carinforid;
        this.billid = billid;
        this.billnumber = billnumber;
        this.billtype = billtype;
        this.sendweight = sendweight;
        this.receiveweight = receiveweight;
        this.lostweight = lostweight;
        this.outlostweight = outlostweight;
        this.lostvalue = lostvalue;
        this.lostunitpirce = lostunitpirce;
        this.lostmoney = lostmoney;
        this.calcmoney = calcmoney;
        this.calcweight = calcweight;
        this.truemoney = truemoney;
        this.losttype = losttype;
        this.adduserid = adduserid;
        this.addusername = addusername;
        this.transcompanyid = transcompanyid;
        this.transcompanyname = transcompanyname;
        this.isaddtax = isaddtax;
        this.addtaxmoney = addtaxmoney;
        this.calctime = calctime;
        this.coaltype = coaltype;
        this.coaltypeid = coaltypeid;
        this.transpaytype = transpaytype;
        this.opttype = opttype;
        this.status = status;
        this.sendcompanyid = sendcompanyid;
        this.sendcompany = sendcompany;
        this.receivcompanyid = receivcompanyid;
        this.receivcompany = receivcompany;
        this.sendaddressid = sendaddressid;
        this.sendaddress = sendaddress;
        this.receiveaddressid = receiveaddressid;
        this.receiveaddress = receiveaddress;
        this.audituserid = audituserid;
        this.auditusername = auditusername;
        this.audittime = audittime;
        this.isLimitOil = isLimitOil;
        this.oilBillId = oilBillId;
        this.oilBillNumber = oilBillNumber;
        this.oilMoney = oilMoney;
        this.transferMoneyId = transferMoneyId;
        this.transferMoneyNumber = transferMoneyNumber;
        this.transferMoney = transferMoney;
        this.bnakName = bnakName;
        this.cardholder = cardholder;
        this.bnakAccount = bnakAccount;
        this.bankcardid = bankcardid;
    }

    @Generated(hash = 1673966554)
    public TransMoneyCalc() {
    }


}
